<?xml version="1.0" encoding="UTF-8"?>
<!--E-Rechnung erstellt mit orgAnice CRM-->
<!--www.orgAnice.de-->
<!--"Office-Version: " & DbProp("Office_Version")-->
<!--"OSEI-Version: " & DbProp("OSEI_Version")-->
<!--Version der Konfigurationsdatei: 2.0.2.1-->
<!--"Erstelldatum: " & FormatDatumStandard(Date())-->
<ubl:Invoice xmlns:ubl="urn:oasis:names:specification:ubl:schema:xsd:Invoice-2" xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cec="urn:oasis:names:specification:ubl:schema:xsd:CommonExtensionComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2">
	<cbc:CustomizationID BTNR="24">"urn:cen.eu:en16931:2017#compliant#urn:xeinkauf.de:kosit:xrechnung_3.0"</cbc:CustomizationID>
	<cbc:ProfileID BTNR="23">"urn:fdc:peppol.eu:2017:poacc:billing:01:1.0"</cbc:ProfileID>
	<cbc:ID BTNR="1">Rechnungsnummer()</cbc:ID>
	<cbc:IssueDate BTNR="2">OSEI_DateToString(Rechnungen->Datum, 0)</cbc:IssueDate>
	<cbc:DueDate BTNR="9">OSEI_Faelligkeitsdatum(0)</cbc:DueDate>
	<cbc:InvoiceTypeCode BTNR="3">OSEI_RechnungsTypCode()</cbc:InvoiceTypeCode>
	<cbc:Note BTNR="22">RechnungZusatztext()</cbc:Note>
	<cbc:DocumentCurrencyCode BTNR="5">"EUR"</cbc:DocumentCurrencyCode>
	<cbc:BuyerReference BTNR="10">Rechnungen->LeitwegID</cbc:BuyerReference>
	<cac:InvoicePeriod BGNR="14">
		<cbc:StartDate BTNR="73">OSEI_RechnungsZeitraum(0, 0)</cbc:StartDate>
		<cbc:EndDate BTNR="74">OSEI_RechnungsZeitraum(1, 0)</cbc:EndDate>
	</cac:InvoicePeriod>
	<cac:OrderReference>
		<cbc:ID BTNR="13">Rechnungen->Bestellnummer</cbc:ID>
		<cbc:SalesOrderID BTNR="14">Rechnungen->Auftragsnummer</cbc:SalesOrderID>
	</cac:OrderReference>
	<cac:BillingReference>
		<cac:InvoiceDocumentReference BGNR="3">
			<cbc:ID BTNR="25">Iif(Rechnungsart()=2, Stornorechnungsnummer(), "")</cbc:ID>
			<cbc:IssueDate BTNR="26">Iif(Rechnungsart()=2, OSEI_DateToString(Rechnungen->AusgangsDatum, 0), "")</cbc:IssueDate>
		</cac:InvoiceDocumentReference>
	</cac:BillingReference>		
	<cac:AccountingSupplierParty BGNR="4">
		<cac:Party>
			<cbc:EndpointID BTNR="34" schemeID="EM">AbsenderMail()</cbc:EndpointID>
			<cac:PartyIdentification>
				<cbc:ID BTNR="29" schemeID="SEPA">OSEI_AbsenderGlaeubigerID()</cbc:ID>
			</cac:PartyIdentification>
			<cac:PostalAddress BGNR="5">
				<cbc:StreetName BTNR="35">AbsenderStrasse()</cbc:StreetName>
				<cbc:CityName BTNR="37">AbsenderOrt()</cbc:CityName>
				<cbc:PostalZone BTNR="38">AbsenderPLZ()</cbc:PostalZone>
				<cac:Country>
					<cbc:IdentificationCode BTNR="40">AbsenderLand()</cbc:IdentificationCode>
				</cac:Country>
			</cac:PostalAddress>
			<cac:PartyTaxScheme>
				<cbc:CompanyID BTNR="32">AbsenderSteuernummer()</cbc:CompanyID>
				<cac:TaxScheme>
					<cbc:ID>"FC"</cbc:ID>
				</cac:TaxScheme>
			</cac:PartyTaxScheme>
			<cac:PartyTaxScheme>
				<cbc:CompanyID BTNR="31">AbsenderUStID()</cbc:CompanyID>
				<cac:TaxScheme>
					<cbc:ID>"VAT"</cbc:ID>
				</cac:TaxScheme>
			</cac:PartyTaxScheme>
			<cac:PartyLegalEntity>
				<cbc:RegistrationName BTNR="27">OSEI_AbsenderName2()</cbc:RegistrationName>
				<cbc:CompanyID BTNR="30">AbsenderHandelsregisterNummer()</cbc:CompanyID>
				<cbc:CompanyLegalForm BTNR="33">"Kein Ausweis von Umsatzsteuer, da Kleinunternehmer gemäß § 19 UStG"</cbc:CompanyLegalForm>
			</cac:PartyLegalEntity>
			<cac:Contact BGNR="6">
				<cbc:Name BTNR="41">AbsenderNamePerson(Rechnungsaktivitaeten->Verantwortlich)</cbc:Name>
				<cbc:Telephone BTNR="42">AbsenderTelefonPerson(Rechnungsaktivitaeten->Verantwortlich)</cbc:Telephone>
				<cbc:ElectronicMail BTNR="43">AbsenderMailPerson(Rechnungsaktivitaeten->Verantwortlich)</cbc:ElectronicMail>
			</cac:Contact>
		</cac:Party>
	</cac:AccountingSupplierParty>
	<cac:AccountingCustomerParty BGNR="7">
		<cac:Party>
			<cbc:EndpointID BTNR="49" schemeID="EM">EMail()</cbc:EndpointID>
			<cac:PartyIdentification>
				<cbc:ID BTNR="46">Kundennummer()</cbc:ID>
			</cac:PartyIdentification>
			<cac:PostalAddress BGNR="8">
				<cbc:StreetName BTNR="50">OSEI_RechnungsAnschrift(0)</cbc:StreetName>
				<cbc:CityName BTNR="52">OSEI_RechnungsAnschrift(1)</cbc:CityName>
				<cbc:PostalZone BTNR="53">OSEI_RechnungsAnschrift(2)</cbc:PostalZone>
				<cac:Country>
					<cbc:IdentificationCode BTNR="55">OSEI_RechnungsAnschrift(3)</cbc:IdentificationCode>
				</cac:Country>
			</cac:PostalAddress>
			<cac:PartyTaxScheme>
				<cbc:CompanyID BTNR="48">Adressen->UStID</cbc:CompanyID>
				<cac:TaxScheme>
					<cbc:ID>"VAT"</cbc:ID>
				</cac:TaxScheme>
			</cac:PartyTaxScheme>
			<cac:PartyLegalEntity>
				<cbc:RegistrationName BTNR="44">Name()</cbc:RegistrationName>
			</cac:PartyLegalEntity>
			<cac:Contact BGNR="9">
				<cbc:Name BTNR="56">Rechnungen->Empfaenger</cbc:Name>
				<cbc:Telephone BTNR="57">Telefon1()</cbc:Telephone>
				<cbc:ElectronicMail BTNR="58">EMailRechnungsversand()</cbc:ElectronicMail>
			</cac:Contact>
		</cac:Party>
	</cac:AccountingCustomerParty>
	<cac:Delivery BGNR="13">
		<cbc:ActualDeliveryDate BTNR="72">OSEI_Lieferdatum(0)</cbc:ActualDeliveryDate>
		<cac:DeliveryLocation>
			<cac:Address BGNR="15">
				<cbc:StreetName BTNR="75">OSEI_LieferAnschrift(0)</cbc:StreetName>
				<cbc:CityName BTNR="77">OSEI_LieferAnschrift(1)</cbc:CityName>
				<cbc:PostalZone BTNR="78">OSEI_LieferAnschrift(2)</cbc:PostalZone>
				<cac:Country>
					<cbc:IdentificationCode BTNR="80">OSEI_LieferAnschrift(3)</cbc:IdentificationCode>
				</cac:Country>
			</cac:Address>
		</cac:DeliveryLocation>
		<cac:DeliveryParty>
			<cac:PartyName>
				<cbc:Name BTNR="70">Liefername()</cbc:Name>
			</cac:PartyName>
		</cac:DeliveryParty>
	</cac:Delivery>
	<cac:PaymentMeans BGNR="16">
		<cbc:PaymentMeansCode BTNR="81">"54"</cbc:PaymentMeansCode>
		<cac:CardAccount BGNR="18">
			<cbc:PrimaryAccountNumberID BTNR="87">OSEI_Kreditkartennummer()</cbc:PrimaryAccountNumberID>
			<cbc:NetworkID>"NA"</cbc:NetworkID>
			<cbc:HolderName BTNR="88">Adressen->Kreditkarteninhaber</cbc:HolderName>
		</cac:CardAccount>
	</cac:PaymentMeans>
	<cac:PaymentMeans BGNR="16">
		<cbc:PaymentMeansCode BTNR="81">"58"</cbc:PaymentMeansCode>
		<cac:PayeeFinancialAccount BGNR="17">
			<cbc:ID BTNR="84">OSEI_AbsenderIBAN()</cbc:ID>
			<cbc:Name BTNR="85">AbsenderKontoinhaber()</cbc:Name>
			<cac:FinancialInstitutionBranch>
				<cbc:ID BTNR="86">AbsenderSWIFTBIC()</cbc:ID>
			</cac:FinancialInstitutionBranch>
		</cac:PayeeFinancialAccount>
	</cac:PaymentMeans>
	<cac:PaymentMeans BGNR="16">
		<cbc:PaymentMeansCode BTNR="81">"59"</cbc:PaymentMeansCode>
		<cac:PaymentMandate BGNR="19">
			<cbc:ID BTNR="89">OSEI_MandateReferenceNumber()</cbc:ID>
			<cac:PayerFinancialAccount>
				<cbc:ID BTNR="91">OSEI_IBAN()</cbc:ID>
			</cac:PayerFinancialAccount>
		</cac:PaymentMandate>
	</cac:PaymentMeans>
	<cac:PaymentTerms>
		<cbc:Note BTNR="20">OSEI_Zahlungsbedingungen(0)</cbc:Note>
	</cac:PaymentTerms>
	<cac:TaxTotal>
		<cbc:TaxAmount BTNR="110" currencyID="EUR">OSEI_FormatZahl(RechnungsUStNormal() + RechnungsUStErmaessigt(), 2)</cbc:TaxAmount>
		<cac:TaxSubtotal BGNR="23">
			<cbc:TaxableAmount BTNR="116" currencyID="EUR">OSEI_VersteuernderBetrag(0)</cbc:TaxableAmount>
			<cbc:TaxAmount BTNR="117" currencyID="EUR">OSEI_FormatZahl(RechnungsUStNormal(), 2)</cbc:TaxAmount>
			<cac:TaxCategory>
				<cbc:ID BTNR="118">OSEI_UstCode(UStSatzNormal())</cbc:ID>
				<cbc:Percent BTNR="119">FormatZahl(UStSatzNormal(), 1, ".")</cbc:Percent>
				<cac:TaxScheme>
					<cbc:ID>"VAT"</cbc:ID>
				</cac:TaxScheme>
			</cac:TaxCategory>
		</cac:TaxSubtotal>
		<cac:TaxSubtotal BGNR="23">
			<cbc:TaxableAmount BTNR="116" currencyID="EUR">OSEI_VersteuernderBetrag(1)</cbc:TaxableAmount>
			<cbc:TaxAmount BTNR="117" currencyID="EUR">OSEI_FormatZahl(RechnungsUStErmaessigt(), 2)</cbc:TaxAmount>
			<cac:TaxCategory>
				<cbc:ID BTNR="118">OSEI_UstCode(UStSatzErmaessigt())</cbc:ID>
				<cbc:Percent BTNR="119">FormatZahl(UStSatzErmaessigt(), 1, ".")</cbc:Percent>
				<cac:TaxScheme>
					<cbc:ID>"VAT"</cbc:ID>
				</cac:TaxScheme>
			</cac:TaxCategory>
		</cac:TaxSubtotal>
		<cac:TaxSubtotal BGNR="23">
			<cbc:TaxableAmount BTNR="116" currencyID="EUR">OSEI_VersteuernderBetrag(2)</cbc:TaxableAmount>
			<cbc:TaxAmount BTNR="117" currencyID="EUR">"0.00"</cbc:TaxAmount>
			<cac:TaxCategory>
				<cbc:ID BTNR="118">OSEI_UstCode(0)</cbc:ID>
				<cbc:Percent BTNR="119">"0.0"</cbc:Percent>
				<cac:TaxScheme>
					<cbc:ID>"VAT"</cbc:ID>
				</cac:TaxScheme>
			</cac:TaxCategory>
		</cac:TaxSubtotal>
	</cac:TaxTotal>
	<cac:LegalMonetaryTotal BGNR="22">
		<cbc:LineExtensionAmount BTNR="106" currencyID="EUR">OSEI_FormatZahl(RechnungssummeNetto(), 2)</cbc:LineExtensionAmount>
		<cbc:TaxExclusiveAmount BTNR="109" currencyID="EUR">OSEI_FormatZahl(RechnungssummeNetto(), 2)</cbc:TaxExclusiveAmount>
		<cbc:TaxInclusiveAmount BTNR="112" currencyID="EUR">OSEI_FormatZahl(RechnungssummeBrutto(), 2)</cbc:TaxInclusiveAmount>
		<cbc:AllowanceTotalAmount BTNR="107" currencyID="EUR">"0.00"</cbc:AllowanceTotalAmount>
		<cbc:ChargeTotalAmount BTNR="108" currencyID="EUR">"0.00"</cbc:ChargeTotalAmount>
		<cbc:PrepaidAmount BTNR="113" currencyID="EUR">"0.00"</cbc:PrepaidAmount>
		<cbc:PayableRoundingAmount BTNR="114" currencyID="EUR">"0.00"</cbc:PayableRoundingAmount>
		<cbc:PayableAmount BTNR="115" currencyID="EUR">OSEI_FormatZahl(RechnungssummeBrutto(), 2)</cbc:PayableAmount>
	</cac:LegalMonetaryTotal>
	<cac:InvoiceLine BGNR="25">
		<cbc:ID BTNR="126">"999"</cbc:ID>
		<cbc:InvoicedQuantity BTNR="129;130" unitCode="OSEI_Einheit(Rechnungspositionen->Einheit)|&quot;XPP&quot;">OSEI_PositionsAnzahl(Rechnungspositionen->Anzahl, RechnungspositionEinzelPreis(), 4)|OSEI_VersandkonstenAnzahl()</cbc:InvoicedQuantity>
		<cbc:LineExtensionAmount BTNR="131" currencyID="EUR">OSEI_FormatZahl(RechnungspositionNetto(), 2)|OSEI_FormatZahl(Rechnungen->Versandkosten, 2)</cbc:LineExtensionAmount>
		<cac:InvoicePeriod BGNR="26">
			<cbc:StartDate BTNR="134">OSEI_PositionsZeitraum(0, 0)|""</cbc:StartDate>
			<cbc:EndDate BTNR="135">OSEI_PositionsZeitraum(1, 0)|""</cbc:EndDate>
		</cac:InvoicePeriod>
		<cac:Item BGNR="31">
			<cbc:Description BTNR="154">RemoveHTML(Rechnungspositionen->Beschreibung)|""</cbc:Description>
			<cbc:Name BTNR="153">Rechnungspositionen->Artikel|"Versandkosten"</cbc:Name>
			<cac:SellersItemIdentification>
				<cbc:ID BTNR="155">Rechnungspositionen->Artikelnummer|""</cbc:ID>
			</cac:SellersItemIdentification>
			<cac:ClassifiedTaxCategory BGNR="30">
				<cbc:ID BTNR="151">OSEI_UstCode(UStSatzRechnungsposition())|OSEI_UstCode(UStSatzNormal())</cbc:ID>
				<cbc:Percent BTNR="152">FormatZahl(UStSatzRechnungsposition(), 1, ".")|FormatZahl(UStSatzNormal(), 1, ".")</cbc:Percent>
				<cac:TaxScheme>
					<cbc:ID>"VAT"</cbc:ID>
				</cac:TaxScheme>
			</cac:ClassifiedTaxCategory>
		</cac:Item>
		<cac:Price BGNR="29">
			<cbc:PriceAmount BTNR="146" currencyID="EUR">FormatZahl(RechnungspositionEinzelPreis(), 2, ".")|FormatZahl(Abs(Rechnungen->Versandkosten), 2, ".")</cbc:PriceAmount>
			<cac:AllowanceCharge>
				<cbc:ChargeIndicator>"false"</cbc:ChargeIndicator>
				<cbc:Amount BTNR="147" currencyID="EUR">OSEI_PositionsRabatt()|"0.00"</cbc:Amount>
				<cbc:BaseAmount BTNR="148" currencyID="EUR">FormatZahl(Abs(Rechnungspositionen->Nettopreis), 2, ".")|FormatZahl(Abs(Rechnungen->Versandkosten), 2, ".")</cbc:BaseAmount>
			</cac:AllowanceCharge>
		</cac:Price>
	</cac:InvoiceLine>
</ubl:Invoice>
